$font-color:#838db1;
$white:#fff;
.red {
    color: red
}

$back-color:#6d789b;
html {
    height: 100%;
    font-size: 62.5%;
}

body {
    height: 100%;
    min-height: 700px;
    background: #e6eaee;
    padding-right: 0 !important;
}

.f12 {
    font-size: 12px;
}

input {
    outline: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

.child-btn {
    height: 27px;
    line-height: 27px;
    padding: 0 10px;
}

.form-group {
    >label {
        font-weight: normal;
    }
}

.modal-dialog {
    margin-top: 100px;
}

.tc {
    text-align: center !important;
}
.tl {
    text-align: left !important;
}
.tr {
    text-align: right !important;
}

.green {
    color: #6dac3c;
}

.blue {
    color: #00c1de;
}

.purple {
    color: #a44cea
}

.pink {
    color: #EA4DA9
}

.white {
    color: #fff;
}

.orange {
    color: #f69d22;
}

.p10 {
    padding: 10px;
}

.pb10 {
    padding-bottom: 10px;
}

.pt15 {
    padding-top: 15px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mr10 {
    margin-right: 10px;
}

.back-color {
    background: $back-color
}

.table-box {
    overflow: auto;
}

.f16 {
    font-size: 16px;
}

.b {
    font-weight: bold;
}

.lh2 {
    line-height: 2;
}

.mb15 {
    margin-bottom: 15px;
}

.mr20 {
    margin-right: 20px;
}

//登录页面
.teamplate-login {
    position: relative;
    .login-wrap {
        width: 1024px;
        margin: 0 auto;
        color: #fff;
        padding-top: 12%;
        .logo {
            position: relative;
            margin-top: 80px;
            .iconfont {
                position: absolute;
                left: -55px;
                top: -35px;
                font-size: 52px;
            }
            .d1 {
                font-size: 40px;
            }
            .d2 {
                font-size: 26px;
            }
        }
        .login-box {
            padding: 15px;
            width: 500px;
            box-sizing: border-box;
            color: $font-color;
            padding: 60px;
            border-radius: 3px;
            .title {
                font-size: 22px;
                margin-bottom: 20px;
            }
            form {
                padding: 0 25px;
                li {
                    margin-bottom: 20px;
                    span {
                        margin-bottom: 5px;
                        display: inline-block;
                    }
                    input {
                        width: 100%;
                        border: 1px solid #c0ccda;
                        border-radius: 2px;
                        padding: 10px;
                    }
                }
                .operate {
                    margin: 15px 0 5px;
                    label {
                        font-weight: normal;
                        cursor: pointer;
                    }
                    a {
                        color: $font-color;
                    }
                }
                .submits {
                    input {
                        background: #00c1de;
                        border-radius: 4px;
                        color: $white;
                        width: 100%;
                        border: none;
                        height: 50px;
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

.has-border {
    border: 1px solid #dee6f1;
    border-top: none;
}

.pagination {
    margin: 0;
}

.table-striped {
    th {
        background: #f1f1f1;
    }
}

.table>tbody th,
.table>thead th {
    background: #d7e2ee;
}

.h-query {
    background: #fff;
    padding: 5px 15px;
    margin-bottom: 5px;
    .form-inline {
        .form-group {
            margin-right: 0px;
            label {
                color: $font-color;
                font-weight: normal;
                margin-right: 5px;
                width: 70px;
                text-align: right;
            }
            .radio-inline {
                width: auto;
            }
        }
    }
    .more-group {
        display: inline-block;
        margin-left: 30px;
    }
    .btn {
        color: $white;
        background: $back-color;
    }
}

.table-wrap {
    color: #555;
    overflow-x: auto;
    table {
        border: 1px solid #dee6f1;
        margin-bottom: 0;
        .rows-num {
            td {
                background: #00c1de;
            }
        }
    }
    .table>tbody>tr>td,
    .table>tbody>tr>th,
    .table>tfoot>tr>td,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>thead>tr>th {
        border-color: #dee6f1;
    }
    th {
        text-align: center;
        white-space: nowrap;
    }
}

.cup {
    cursor: pointer;
}

.list-table {
    padding: 5px 10px;
    background: $white;
    .title {
        font-size: 16px;
        padding: 5px 0;
    }
}

.list-h {
    margin-bottom: 5px;
    background: #fff;
    .btn {
        background: $back-color;
        color: $white;
        border: 1px solid #959fc2;
    }
    .on {
        background: $white;
        color: $font-color;
    }
}

.pager-box {
    .pull-left {
        line-height: 30px;
    }
}

.more-group {
    position: relative;
    a.more {
        display: block;
        padding: 0 10px;
        cursor: pointer;
        i {
            font-size: 10px;
        }
    }
    ul {
        position: absolute;
        left: 0;
        top: 20px;
        min-width: 100%;
        background: #fff;
        border: 1px solid #959fc2;
        border-top: none;
        display: none;
    }
}

.teamplate-past {
    .sum-list {
        .pull-left {
            padding-right: 25px;
            font-size: 18px;
            line-height: 1.7;
            margin-right: 25px;
            border-right: 1px solid #e6eaee;
            height: 92px;
        }
        .list-right {
            color: #e53838;
            margin-left: 690px;
            text-align: right;
        }
    }
}

.operat {
    margin-bottom: 15px;
    span {
        display: inline-block;
        color: $font-color;
        cursor: pointer;
        margin-right: 15px;
    }
}

.teamplate-charts,
.teamplate-cashmonitoring {
    .t-msg {
        color: $font-color;
        background: $white;
        margin-bottom: 10px;
        .son-l {
            border-right: 1px solid #efefef;
        }
        .iconfont {
            font-size: 40px;
            position: relative;
        }
        .font {
            color: #555;
            font-size: 20px;
            vertical-align: middle;
        }
        p {
            line-height: 25px;
            .font {
                margin-left: 20px;
            }
        }
    }
    .table-list {
        background: $white;
        .item-hd {
            margin-bottom: 8px;
            font-size: 16px;
            padding-top: 10px;
            li {
                color: $font-color;
                cursor: pointer;
                float: left;
                padding:0 10px;
            }
        }
        .table-wrap {
            height: 180px;
        }
    }
    .pie-wrap {
        background: $white;
        margin-bottom: 10px;
        .chart-box {
            height: 250px;
            width: 100%;
        }
    }
    .line-wrap {
        background: $white;
        .chart-box {
            height: 320px;
            width: 100%;
        }
    }
}

.teamplate-system {
    .setup-list {
        li {
            background: #fff;
            margin-bottom: 18px;
            .title {
                background: #28adc1;
                color: #fff;
                font-size: 16px;
                padding: 0 15px;
                line-height: 32px;
                border-radius: 3px 3px 0 0;
            }
            .bd {
                .row {
                    margin-bottom: 15px;
                    .texts {
                        width: 60px;
                    }
                    .input-group-addon {
                        cursor: pointer;
                    }
                }
                padding:20px;
                border-radius: 0 0 3px 3px;
                label {
                    color: $font-color;
                    text-align: right;
                }
                .radio-label {
                    width: 105px;
                    margin-right: 8px;
                }
            }
        }
        .i1 {
            label {
                width: 65px;
            }
        }
        .i1 {
            label {
                width: 65px;
                text-align: right;
            }
        }
        .i3 {
            label {
                width: 100px;
            }
            .format {
                border: 1px solid #ddd;
                padding: 15px;
                width: 250px;
            }
        }
    }
}

.teamplate-index {
    .payment-method {
        width: 350px;
        margin: 0 auto;
    }
    .table-box {
        border: 1px solid #ddd;
        table {
            border: none;
            tr.on {
                background: #F0F5FC;
            }
        }
    }
}

.payment-method {
    ul {
        width: 100%;
        margin: 0 auto;
        li {
            width: 100%;
            border-radius: 4px;
            border: 1px solid #c0ccda;
            margin-bottom: 12px;
            padding: 0 25px;
            cursor: pointer;
            opacity: 0.3;
            .iconfont {
                font-size: 32px;
                vertical-align: middle;
            }
            .icon-qian3 {
                color: #7174d7;
            }
            .icon-umidd17 {
                color: #0f64c6;
            }
            .icon-icon- {
                color: #90cb0f;
            }
            .icon-yinlian {
                color: #28ADC1;
            }
            .text {
                display: inline-block;
                vertical-align: middle;
                .s1 {
                    width: 50px;
                    line-height: 50px;
                    text-align: right;
                    display: inline-block;
                    margin-left: 10px;
                }
                input {
                    height: 25px;
                    width: 105px;
                    padding: 0 5px;
                }
            }
        }
        li.on {
            opacity: 1;
        }
    }
    .dibs {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        .form-inline {
            >span {
                margin-right: 5px;
                color: $font-color;
            }
            .form-group {
                width: 108px;
            }
        }
    }
}

.weather {
    background: $white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 12px;
    .yun {
        color: #959fc2;
        font-size: 70px;
        line-height: 70px;
        overflow: hidden;
    }
    .message {
        margin-left: 30px;
        color: #959fc2;
        .degrees {
            font-size: 25px;
        }
    }
}

.nissin-wrap {
    >.list {
        .box {
            padding: 34px 25px;
            background: #fff;
            border-radius: 4px;
            text-align: center;
            width: 100%;
            box-sizing: border-box;
            .left-first {
                display: inline-block;
                position: relative;
                &::before {
                    content: '';
                    position: absolute;
                    left: -25px;
                    height: 200px;
                    top: 50%;
                    transform: translate(0, -50%);
                    width: 4px;
                    display: inline-block;
                    background: #d7e2ef;
                }
                li {
                    margin-bottom: 54px;
                    position: relative;
                    text-align: left;
                    input {
                        background: #ffffff;
                        border: 1px solid #c0ccda;
                        border-radius: 6px;
                        width: 158px;
                        height: 48px;
                        font-size: 16px;
                        color: #232630;
                    }
                    input.on {
                        opacity: 0.5;
                    }
                    .iconfont {
                        position: absolute;
                        left: -36px;
                        top: 50%;
                        transform: translate(0, -50%);
                        border-radius: 50%;
                        color: #fff;
                        width: 26px;
                        height: 26px;
                        line-height: 26px;
                        text-align: center;
                    }
                    .icon-hedui {
                        background: #00c1de
                    }
                    .icon-rili {
                        background: #6dac3c
                    }
                    .icon-qian4 {
                        background: #eb4ca8
                    }
                    .adorn {
                        width: 0;
                        height: 0;
                        border-top: 8px solid transparent;
                        border-left: 12px solid #959fc2;
                        border-bottom: 8px solid transparent;
                        margin-left: 20px;
                        display: inline-block;
                        vertical-align: middle;
                    }
                }
                li:last-child {
                    margin-bottom: 0;
                }
            }
        }
        .count-money {
            li {
                overflow: hidden;
                display: flex;
                align-items: center;
                padding: 5px 0;
                span {
                    color: #6f7ba5;
                    margin-right: 25px;
                    width: 40px;
                    text-align: right;
                    display: inline-block
                }
                input {
                    border: none;
                    border-bottom: 1px solid #e1ecf9;
                    padding: 5px 10px;
                    color: #000;
                    flex: auto;
                }
            }
            p {
                text-align: right;
                font-size: 16px;
                line-height: 1.6;
                span {
                    display: inline-block;
                    width: 100px;
                }
            }
            .text-center {
                margin-top: 15px;
                input {
                    background: #00c1de;
                    color: #fff;
                    padding: 5px 20px;
                }
            }
        }
    }
}

.msg-pop {
    opacity: 0;
    transition: all ease 0.5s;
    min-width: 260px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    .title {
        .close {
            font-size: 14px;
            position: absolute;
            right: 15px;
            top: 14px;
        }
    }
    .bd {
        padding: 20px;
        line-height: 24px;
        word-break: break-all;
        overflow: hidden;
        font-size: 14px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .fd {
        text-align: right;
        padding: 0 15px 12px;
        input {
            border-color: #1E9FFF;
            background-color: #1E9FFF;
            color: #fff;
        }
    }
}

.msg-pop.on {
    z-index: 1000;
    opacity: 1
}

.small-pop {
    .modal-header {
        h4 {
            font-size: 14px;
            color: #555;
        }
        padding: 8px 15px;
        .small-pop {
            margin-top: 2px;
        }
    }
    .modal-body {
        border: none;
        padding: 10px 15px;
    }
    .modal-footer {
        border: none;
    }
}

.teamplate-nissin {
    .modal {
        .modal-body {
            height: 400px;
        }
        .wrap {
            font-size: 16px;
            line-height: 3;
            position: absolute;
            left: 50%;
            top: 100px;
            transform: translate(0-50%);
            .s1 {
                display: inline-block;
                text-align: right;
                width: 120px;
            }
            p.tc {
                margin-top: 45px;
                input {
                    width: 100px;
                }
            }
            .account {
                >img {
                    width: 50px;
                    height: 50px;
                    display: block;
                    margin: 0 auto;
                }
            }
            // .nissin{margin-top:40px}
            .loading {
                img {
                    width: 100px;
                    height: 100px;
                }
            }
        }
    }
}

.ui-mask {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.ui-mask.on {
    z-index: 998;
    opacity: 0.5;
    display: block;
}

.perfect-pop {
    display: none;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.perfect-pop.on {
    z-index: 999;
}

.print-wrap {
    visibility: hidden;
    position: fixed;
    bottom: -1000px;
}

.h-query {
    .form-control {
        width: 150px;
    }
}

.table-box .table-input {
    width: 100%;
    border: none;
    text-align: center;
}

.teamplate-cashmonitoring {
    .table-wrap {
        background: #fff;
    }
}

.b-operation {
    background: #fff;
    padding: 5px 15px;
    .form-control {
        width: 100px;
    }
}

.teamplate-humiture {
    .b-operation {
        textarea {
            height: 28px;
            width: 200px;
            overflow-y: hidden;
        }
    }
}